package com.chatgpt.platformbasedchatgpt.service;

import com.chatgpt.platformbasedchatgpt.dao.History;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Chat
 * @since 2023-12-03
 */
public interface HistoryService {
    List<History> getHistory(int userId);

    int saveHistory(History history);
}
